package org.kl.bf.service.basic;

import org.kl.bf.entity.basic.ExcelImportTemp;
import org.kl.bf.repository.basic.ExcelImportTempDao;
import org.kl.bf.service.BasicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
 * 
 * @author QJ
 * 自定义Excel导入模板
 */
// Spring Bean的标识.
@Component
// 默认将类中的所有public函数纳入事务管理.
@Transactional
public class ExcelImportTempService extends BasicService<ExcelImportTemp>{
	@Autowired
	private ExcelImportTempDao excelImportTempDao;
	
	public ExcelImportTemp findByImportTempNo(String importTempNo){
		return excelImportTempDao.findByImportTempNo(importTempNo);
	}

}
